package com.mms.service;

import com.baomidou.mybatisplus.service.IService;
import com.mms.pojo.MedicalHistory;
import com.mms.pojo.UserInfo;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 陈林鹏
 * @since 2021-04-14
 */
public interface IMedicalHistoryService extends IService<MedicalHistory> {

    /**
     * 结束看诊
     * 创建历史记录并记录病床id
     *
     * @param userinfo
     * @param medicineInfo
     * @param diagnosisResult
     * @param reserveId
     * @return
     */
    boolean endVisit(UserInfo userinfo,
                     String medicineInfo,
                     String diagnosisResult,
                     Integer reserveId) throws Exception;

}
